package com.buaa.aimall.goodsModule.Service;

import com.buaa.aimall.Utils.PageReturnResult;
import com.buaa.aimall.goodsModule.Entity.TransactionOrderEntity;
import com.buaa.aimall.goodsModule.DTO.FilterTransactionOrderDTO;
import com.github.yulichang.extension.mapping.base.MPJDeepService;

public interface TransactionOrderService extends MPJDeepService<TransactionOrderEntity> {
    PageReturnResult<TransactionOrderEntity> filterTransactionOrder(FilterTransactionOrderDTO filterDTO);

    long getUnpaidCount(String userId);

    int getPaymentAmountTodayOrThisMonth(String userId, boolean isToday);
}